package cn.naughtior.shch.utils;

import com.rabbitmq.client.Channel;
import com.rabbitmq.client.GetResponse;

/**
 * ${DESCRIPTION}
 *
 * @author shitou<shitou@in66.com>
 * @create 2016-12-20 11:49
 */

public class Message {
    private Channel channel;
    private GetResponse response;

    public Channel getChannel() {
        return channel;
    }

    public void setChannel(Channel channel) {
        this.channel = channel;
    }

    public GetResponse getResponse() {
        return response;
    }

    public void setResponse(GetResponse response) {
        this.response = response;
    }

    public Message(Channel channel, GetResponse response) {

        this.channel = channel;
        this.response = response;
    }
}
